ioreq-server: make buffered ioreq handling optional
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 2 Jun 2014 08:02:25 +0000 (10:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Jun 2014 08:02:25 +0000 (10:02 +0200)
commit41b41c0b0d2e1b83929adcc8de703ea0cc2417a6
tree5594df274b2ff0c91d6619d7820a987ee14151b7
parent85a787c97be0b80e429cd7cbba8448ebb9244aa5
ioreq-server: make buffered ioreq handling optional

Some emulators will only register regions that require non-buffered
access. (In practice the only region that a guest uses buffered access
for today is the VGA aperture from 0xa0000-0xbffff). This patch therefore
makes allocation of the buffered ioreq page and event channel optional for
secondary ioreq servers.

If a guest attempts buffered access to an ioreq server that does not
support it, the access will be handled via the normal synchronous path.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/libxc/xc_domain.c
tools/libxc/xenctrl.h
xen/arch/x86/hvm/hvm.c
xen/include/public/hvm/hvm_op.h